package com.itboye.ihomebank.bean;

import com.google.gson.annotations.SerializedName;
/**
 * 我的钥匙列表
 */
public class KeysBean   {
    private String key_id;
    private String start;//生效开始时间
    private String end;//结束时间
    private String status;//钥匙状态
    private String type; //钥匙类型,0=>管理员，1=>用户
    @SerializedName("lockFlagPos")
    private String lockFlagPos;
    @SerializedName("adminPwd")
    private String adminPwd;
    @SerializedName("noKeyPwd")
    private String noKeyPwd;
    @SerializedName("deletePwd")
    private String deletePwd;
    @SerializedName("aesKeyStr")
    private String aesKeyStr;
    private int power;//电量
    @SerializedName("timezoneRawOffset")
    private String timezoneRawOffset;
    private String key_alias;
    private String lock_id;
    private String lock_name;
    private String lock_alias;// 钥匙别名
    private String house_no;//绑定房源
    private String push;//是1否0开了开锁推送
    private lockVersion lock_version;
    private String lock_mac;//地址
    private String lock_key;
    private String user_type;//用户类型,0=>管理者，1=>授权用户
    @SerializedName("keyStatus")
    private String keyStatus;//使用情况
    private String lock_type;//所类型-白马锁（6587）  科技侠（其他）
    @SerializedName("keyType")
    private String key_type;//是什么类型。白马锁会返回
    @SerializedName("hasValidRent")
    private String has_valid_rent;//0管理员能开门,其他管理员不能开门,因为有合法租户了,
    private String reset_rent_pass;//是(1)否(0)需要清空租户密码,租户钥匙有效

    public String getReset_rent_pass() {
        return reset_rent_pass;
    }
    public void setReset_rent_pass(String reset_rent_pass) {
        this.reset_rent_pass = reset_rent_pass;
    }
    public String getHas_valid_rent() {
        return has_valid_rent;
    }

    public void setHas_valid_rent(String has_valid_rent) {
        this.has_valid_rent = has_valid_rent;
    }

    public String getKey_type() {
        return key_type;
    }

    public void setKey_type(String key_type) {
        this.key_type = key_type;
    }

    public String getLock_type() {
        return lock_type;
    }

    public void setLock_type(String lock_type) {
        this.lock_type = lock_type;
    }

    public String getLock_id() {
        return lock_id;
    }

    public String getDeletePwd() {
        return deletePwd;
    }

    public void setDeletePwd(String deletePwd) {
        this.deletePwd = deletePwd;
    }

    public void setLock_id(String lock_id) {
        this.lock_id = lock_id;
    }

    public String getKey_id() {
        return key_id;
    }

    public void setKey_id(String key_id) {
        this.key_id = key_id;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLockFlagPos() {
        return lockFlagPos;
    }

    public void setLockFlagPos(String lockFlagPos) {
        this.lockFlagPos = lockFlagPos;
    }

    public String getAdminPwd() {
        return adminPwd;
    }

    public void setAdminPwd(String adminPwd) {
        this.adminPwd = adminPwd;
    }

    public String getNoKeyPwd() {
        return noKeyPwd;
    }

    public void setNoKeyPwd(String noKeyPwd) {
        this.noKeyPwd = noKeyPwd;
    }

    public String getAesKeyStr() {
        return aesKeyStr;
    }

    public void setAesKeyStr(String aesKeyStr) {
        this.aesKeyStr = aesKeyStr;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public String getTimezoneRawOffset() {
        return timezoneRawOffset;
    }

    public void setTimezoneRawOffset(String timezoneRawOffset) {
        this.timezoneRawOffset = timezoneRawOffset;
    }

    public String getKey_alias() {
        return key_alias;
    }

    public void setKey_alias(String key_alias) {
        this.key_alias = key_alias;
    }

    public String getLock_name() {
        return lock_name;
    }

    public void setLock_name(String lock_name) {
        this.lock_name = lock_name;
    }

    public String getLock_alias() {
        return lock_alias;
    }

    public void setLock_alias(String lock_alias) {
        this.lock_alias = lock_alias;
    }

    public String getHouse_no() {
        return house_no;
    }

    public void setHouse_no(String house_no) {
        this.house_no = house_no;
    }

    public String getPush() {
        return push;
    }

    public void setPush(String push) {
        this.push = push;
    }

    public String getLock_mac() {
        return lock_mac;
    }

    public void setLock_mac(String lock_mac) {
        this.lock_mac = lock_mac;
    }

    public String getLock_key() {
        return lock_key;
    }

    public void setLock_key(String lock_key) {
        this.lock_key = lock_key;
    }

    public String getUser_type() {
        return user_type;
    }

    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }

    public String getKeyStatus() {
        return keyStatus;
    }

    public void setKeyStatus(String keyStatus) {
        this.keyStatus = keyStatus;
    }

    public lockVersion getLock_version() {
        return lock_version;
    }

    public void setLock_version(lockVersion lock_version) {
        this.lock_version = lock_version;
    }

    class lockVersion {
        @SerializedName("groupId")
        String groupId;
        @SerializedName("protocolVersion")
        String protocolVersion;
        @SerializedName("protocolType")
        String protocolType;
        @SerializedName("orgId")
        String orgId;
        String scene;

        public String getGroupId() {
            return groupId;
        }

        public void setGroupId(String groupId) {
            this.groupId = groupId;
        }

        public String getProtocolVersion() {
            return protocolVersion;
        }

        public void setProtocolVersion(String protocolVersion) {
            this.protocolVersion = protocolVersion;
        }

        public String getProtocolType() {
            return protocolType;
        }

        public void setProtocolType(String protocolType) {
            this.protocolType = protocolType;
        }

        public String getOrgId() {
            return orgId;
        }

        public void setOrgId(String orgId) {
            this.orgId = orgId;
        }

        public String getScene() {
            return scene;
        }

        public void setScene(String scene) {
            this.scene = scene;
        }

        @Override
        public String toString() {
            return "lockVersion{" +
                    "groupId='" + groupId + '\'' +
                    ", protocolVersion='" + protocolVersion + '\'' +
                    ", protocolType='" + protocolType + '\'' +
                    ", orgId='" + orgId + '\'' +
                    ", scene='" + scene + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "KeysBean{" +
                "key_id='" + key_id + '\'' +
                ", start='" + start + '\'' +
                ", end='" + end + '\'' +
                ", status='" + status + '\'' +
                ", type='" + type + '\'' +
                ", lockFlagPos='" + lockFlagPos + '\'' +
                ", adminPwd='" + adminPwd + '\'' +
                ", noKeyPwd='" + noKeyPwd + '\'' +
                ", deletePwd='" + deletePwd + '\'' +
                ", aesKeyStr='" + aesKeyStr + '\'' +
                ", power=" + power +
                ", timezoneRawOffset='" + timezoneRawOffset + '\'' +
                ", key_alias='" + key_alias + '\'' +
                ", lock_id='" + lock_id + '\'' +
                ", lock_name='" + lock_name + '\'' +
                ", lock_alias='" + lock_alias + '\'' +
                ", house_no='" + house_no + '\'' +
                ", push='" + push + '\'' +
                ", lock_version=" + lock_version +
                ", lock_mac='" + lock_mac + '\'' +
                ", lock_key='" + lock_key + '\'' +
                ", user_type='" + user_type + '\'' +
                ", keyStatus='" + keyStatus + '\'' +
                ", lock_type='" + lock_type + '\'' +
                ", key_type='" + key_type + '\'' +
                ", has_valid_rent='" + has_valid_rent + '\'' +
                ", reset_rent_pass='" + reset_rent_pass + '\'' +
                '}';
    }
}
